package com.cos.shop.service;

import com.cos.shop.common.ResponseResult;
import com.cos.shop.entity.Address;

/**
 * Copyright (C),2021-2022,亚瑟王
 * FileName: AddressServices
 * Author: saber
 * Date:2022/9/19 21:29
 */
public interface AddressServices {
    ResponseResult getAddressByUser(int uid);

    ResponseResult addAddressByUser(Address address);

    ResponseResult deleteAddress(int aid);

    ResponseResult updateAddress(Address address);

    ResponseResult changeDefault(int aid, int uid);

} 
